{if $showMore ==0} ضع الكميةالجديدة الفارغة بصفر {assign var=i value=1} {foreach $productData as $pro} {*if $pro->productquantity neq '0'*} {if ($beforeAfter == 1 && $lastInventoryDate && $lastInventoryDate < $pro->lastInventoryDate) || !$lastInventoryDate || ($beforeAfter == 2 && $lastInventoryDate && $lastInventoryDate > $pro->lastInventoryDate) || !$pro->lastInventoryDate} {if $pro->status eq 1} {else} {/if} {*/if*} {*/if*} {/if} {capture assign=i}{$i+1}{/capture} {/foreach} {if $showMoreSetting == 0} {/if}
إسم المنتج الكمية الحالية الكمية الجديدة المخزن تاريخ آخر إعادة جرد
{$pro->productName} {$pro->productquantity} {$pro->storeName} {$pro->lastInventoryDate}
عـــرض المزيـــد
{elseif $showMore == 1} {assign var=i value={$lastItr}} {foreach $productData as $pro} {*if $pro->productquantity neq '0'*} {if ($beforeAfter == 1 && $lastInventoryDate && $lastInventoryDate < $pro->lastInventoryDate) || !$lastInventoryDate || ($beforeAfter == 2 && $lastInventoryDate && $lastInventoryDate > $pro->lastInventoryDate) || !$pro->lastInventoryDate} {if $pro->status eq 1} {else} {/if} {$pro->productName} {$pro->parcode} {$pro->productquantity} {$pro->storeName} {$pro->lastInventoryDate} {*/if*} {*/if*} {/if} {capture assign=i}{$i+1}{/capture} {/foreach} {/if}